package com.example.barcodeapp.ui.huodong.fragment;

import android.webkit.WebChromeClient;
import android.webkit.WebView;

import com.example.barcodeapp.R;
import com.example.barcodeapp.base.BaseFragment;
import com.example.barcodeapp.common.Constants;
import com.example.barcodeapp.interfaces.IBasePersenter;

import butterknife.BindView;

public class HuoDongJieShaoFragment extends BaseFragment {


    @BindView(R.id.web)
    WebView wv;

    @Override
    protected int getLayout() {
        return R.layout.huoodngjieshao_fragment;
    }

    @Override
    protected void initView() {

        wv.loadUrl(Constants.Base_TPUrl3);
        wv.setWebChromeClient(new WebChromeClient());
        wv.getSettings().setJavaScriptEnabled(true);
    }

    @Override
    protected IBasePersenter initPersenter() {
        return null;
    }

    @Override
    protected void initData() {

    }
}
